Integrand size = 14, antiderivative size = 207 \[ \int x^3 \left (a+b \sec ^{-1}(c x)\right )^3 \, dx=-\frac {b^3 \sqrt {1-\frac {1}{c^2 x^2}} x}{4 c^3}+\frac {b^2 x^2 \left (a+b \sec ^{-1}(c x)\right )}{4 c^2}+\frac {i b \left (a+b \sec ^{-1}(c x)\right )^2}{2 c^4}-\frac {b \sqrt {1-\frac {1}{c^2 x^2}} x \left (a+b \sec ^{-1}(c x)\right )^2}{2 c^3}-\frac {b \sqrt {1-\frac {1}{c^2 x^2}} x^3 \left (a+b \sec ^{-1}(c x)\right )^2}{4 c}+\frac {1}{4} x^4 \left (a+b \sec ^{-1}(c x)\right )^3-\frac {b^2 \left (a+b \sec ^{-1}(c x)\right ) \log \left (1+e^{2 i \sec ^{-1}(c x)}\right )}{c^4}+\frac {i b^3 \operatorname {PolyLog}\left (2,-e^{2 i \sec ^{-1}(c x)}\right )}{2 c^4} \]
[Out]
Time = 0.16 (sec) , antiderivative size = 207, normalized size of antiderivative = 1.00, number of steps used = 10, number of rules used = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.714, Rules used = {5330, 4494, 4271, 3852, 8, 4269, 3800, 2221, 2317, 2438} \[ \int x^3 \left (a+b \sec ^{-1}(c x)\right )^3 \, dx=-\frac {b^2 \log \left (1+e^{2 i \sec ^{-1}(c x)}\right ) \left (a+b \sec ^{-1}(c x)\right )}{c^4}+\frac {b^2 x^2 \left (a+b \sec ^{-1}(c x)\right )}{4 c^2}+\frac {i b \left (a+b \sec ^{-1}(c x)\right )^2}{2 c^4}-\frac {b x^3 \sqrt {1-\frac {1}{c^2 x^2}} \left (a+b \sec ^{-1}(c x)\right )^2}{4 c}-\frac {b x \sqrt {1-\frac {1}{c^2 x^2}} \left (a+b \sec ^{-1}(c x)\right )^2}{2 c^3}+\frac {1}{4} x^4 \left (a+b \sec ^{-1}(c x)\right )^3+\frac {i b^3 \operatorname {PolyLog}\left (2,-e^{2 i \sec ^{-1}(c x)}\right )}{2 c^4}-\frac {b^3 x \sqrt {1-\frac {1}{c^2 x^2}}}{4 c^3} \]
[In]
[Out]
Rule 8
Rule 2221
Rule 2317
Rule 2438
Rule 3800
Rule 3852
Rule 4269
Rule 4271
Rule 4494
Rule 5330
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int (a+b x)^3 \sec ^4(x) \tan (x) \, dx,x,\sec ^{-1}(c x)\right )}{c^4} \\ & = \frac {1}{4} x^4 \left (a+b \sec ^{-1}(c x)\right )^3-\frac {(3 b) \text {Subst}\left (\int (a+b x)^2 \sec ^4(x) \, dx,x,\sec ^{-1}(c x)\right )}{4 c^4} \\ & = \frac {b^2 x^2 \left (a+b \sec ^{-1}(c x)\right )}{4 c^2}-\frac {b \sqrt {1-\frac {1}{c^2 x^2}} x^3 \left (a+b \sec ^{-1}(c x)\right )^2}{4 c}+\frac {1}{4} x^4 \left (a+b \sec ^{-1}(c x)\right )^3-\frac {b \text {Subst}\left (\int (a+b x)^2 \sec ^2(x) \, dx,x,\sec ^{-1}(c x)\right )}{2 c^4}-\frac {b^3 \text {Subst}\left (\int \sec ^2(x) \, dx,x,\sec ^{-1}(c x)\right )}{4 c^4} \\ & = \frac {b^2 x^2 \left (a+b \sec ^{-1}(c x)\right )}{4 c^2}-\frac {b \sqrt {1-\frac {1}{c^2 x^2}} x \left (a+b \sec ^{-1}(c x)\right )^2}{2 c^3}-\frac {b \sqrt {1-\frac {1}{c^2 x^2}} x^3 \left (a+b \sec ^{-1}(c x)\right )^2}{4 c}+\frac {1}{4} x^4 \left (a+b \sec ^{-1}(c x)\right )^3+\frac {b^2 \text {Subst}\left (\int (a+b x) \tan (x) \, dx,x,\sec ^{-1}(c x)\right )}{c^4}+\frac {b^3 \text {Subst}\left (\int 1 \, dx,x,-c \sqrt {1-\frac {1}{c^2 x^2}} x\right )}{4 c^4} \\ & = -\frac {b^3 \sqrt {1-\frac {1}{c^2 x^2}} x}{4 c^3}+\frac {b^2 x^2 \left (a+b \sec ^{-1}(c x)\right )}{4 c^2}+\frac {i b \left (a+b \sec ^{-1}(c x)\right )^2}{2 c^4}-\frac {b \sqrt {1-\frac {1}{c^2 x^2}} x \left (a+b \sec ^{-1}(c x)\right )^2}{2 c^3}-\frac {b \sqrt {1-\frac {1}{c^2 x^2}} x^3 \left (a+b \sec ^{-1}(c x)\right )^2}{4 c}+\frac {1}{4} x^4 \left (a+b \sec ^{-1}(c x)\right )^3-\frac {\left (2 i b^2\right ) \text {Subst}\left (\int \frac {e^{2 i x} (a+b x)}{1+e^{2 i x}} \, dx,x,\sec ^{-1}(c x)\right )}{c^4} \\ & = -\frac {b^3 \sqrt {1-\frac {1}{c^2 x^2}} x}{4 c^3}+\frac {b^2 x^2 \left (a+b \sec ^{-1}(c x)\right )}{4 c^2}+\frac {i b \left (a+b \sec ^{-1}(c x)\right )^2}{2 c^4}-\frac {b \sqrt {1-\frac {1}{c^2 x^2}} x \left (a+b \sec ^{-1}(c x)\right )^2}{2 c^3}-\frac {b \sqrt {1-\frac {1}{c^2 x^2}} x^3 \left (a+b \sec ^{-1}(c x)\right )^2}{4 c}+\frac {1}{4} x^4 \left (a+b \sec ^{-1}(c x)\right )^3-\frac {b^2 \left (a+b \sec ^{-1}(c x)\right ) \log \left (1+e^{2 i \sec ^{-1}(c x)}\right )}{c^4}+\frac {b^3 \text {Subst}\left (\int \log \left (1+e^{2 i x}\right ) \, dx,x,\sec ^{-1}(c x)\right )}{c^4} \\ & = -\frac {b^3 \sqrt {1-\frac {1}{c^2 x^2}} x}{4 c^3}+\frac {b^2 x^2 \left (a+b \sec ^{-1}(c x)\right )}{4 c^2}+\frac {i b \left (a+b \sec ^{-1}(c x)\right )^2}{2 c^4}-\frac {b \sqrt {1-\frac {1}{c^2 x^2}} x \left (a+b \sec ^{-1}(c x)\right )^2}{2 c^3}-\frac {b \sqrt {1-\frac {1}{c^2 x^2}} x^3 \left (a+b \sec ^{-1}(c x)\right )^2}{4 c}+\frac {1}{4} x^4 \left (a+b \sec ^{-1}(c x)\right )^3-\frac {b^2 \left (a+b \sec ^{-1}(c x)\right ) \log \left (1+e^{2 i \sec ^{-1}(c x)}\right )}{c^4}-\frac {\left (i b^3\right ) \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 i \sec ^{-1}(c x)}\right )}{2 c^4} \\ & = -\frac {b^3 \sqrt {1-\frac {1}{c^2 x^2}} x}{4 c^3}+\frac {b^2 x^2 \left (a+b \sec ^{-1}(c x)\right )}{4 c^2}+\frac {i b \left (a+b \sec ^{-1}(c x)\right )^2}{2 c^4}-\frac {b \sqrt {1-\frac {1}{c^2 x^2}} x \left (a+b \sec ^{-1}(c x)\right )^2}{2 c^3}-\frac {b \sqrt {1-\frac {1}{c^2 x^2}} x^3 \left (a+b \sec ^{-1}(c x)\right )^2}{4 c}+\frac {1}{4} x^4 \left (a+b \sec ^{-1}(c x)\right )^3-\frac {b^2 \left (a+b \sec ^{-1}(c x)\right ) \log \left (1+e^{2 i \sec ^{-1}(c x)}\right )}{c^4}+\frac {i b^3 \operatorname {PolyLog}\left (2,-e^{2 i \sec ^{-1}(c x)}\right )}{2 c^4} \\ \end{align*}
Time = 0.60 (sec) , antiderivative size = 288, normalized size of antiderivative = 1.39 \[ \int x^3 \left (a+b \sec ^{-1}(c x)\right )^3 \, dx=\frac {-2 a^2 b c \sqrt {1-\frac {1}{c^2 x^2}} x-b^3 c \sqrt {1-\frac {1}{c^2 x^2}} x+a b^2 c^2 x^2-a^2 b c^3 \sqrt {1-\frac {1}{c^2 x^2}} x^3+a^3 c^4 x^4-b^2 \left (-3 a c^4 x^4+b \left (-2 i+2 c \sqrt {1-\frac {1}{c^2 x^2}} x+c^3 \sqrt {1-\frac {1}{c^2 x^2}} x^3\right )\right ) \sec ^{-1}(c x)^2+b^3 c^4 x^4 \sec ^{-1}(c x)^3+b \sec ^{-1}(c x) \left (c x \left (b^2 c x+3 a^2 c^3 x^3-2 a b \sqrt {1-\frac {1}{c^2 x^2}} \left (2+c^2 x^2\right )\right )-4 b^2 \log \left (1+e^{2 i \sec ^{-1}(c x)}\right )\right )-4 a b^2 \log \left (\frac {1}{c x}\right )+2 i b^3 \operatorname {PolyLog}\left (2,-e^{2 i \sec ^{-1}(c x)}\right )}{4 c^4} \]
[In]
[Out]
Time = 1.16 (sec) , antiderivative size = 365, normalized size of antiderivative = 1.76
method | result | size |
derivativedivides | \(\frac {\frac {a^{3} c^{4} x^{4}}{4}+b^{3} \left (\frac {\operatorname {arcsec}\left (c x \right )^{3} c^{4} x^{4}}{4}-\frac {\sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, \operatorname {arcsec}\left (c x \right )^{2} c^{3} x^{3}}{4}-\frac {\operatorname {arcsec}\left (c x \right )^{2} \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c x}{2}+\frac {i \operatorname {arcsec}\left (c x \right )^{2}}{2}+\frac {c^{2} x^{2} \operatorname {arcsec}\left (c x \right )}{4}-\frac {x c \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}}{4}-\frac {i}{4}-\operatorname {arcsec}\left (c x \right ) \ln \left (1+{\left (\frac {1}{c x}+i \sqrt {1-\frac {1}{c^{2} x^{2}}}\right )}^{2}\right )+\frac {i \operatorname {polylog}\left (2, -{\left (\frac {1}{c x}+i \sqrt {1-\frac {1}{c^{2} x^{2}}}\right )}^{2}\right )}{2}\right )+3 a \,b^{2} \left (\frac {\operatorname {arcsec}\left (c x \right )^{2} c^{4} x^{4}}{4}-\frac {\operatorname {arcsec}\left (c x \right ) \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c^{3} x^{3}}{6}+\frac {c^{2} x^{2}}{12}-\frac {\operatorname {arcsec}\left (c x \right ) c x \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}}{3}-\frac {\ln \left (\frac {1}{c x}\right )}{3}\right )+3 a^{2} b \left (\frac {c^{4} x^{4} \operatorname {arcsec}\left (c x \right )}{4}-\frac {\left (c^{2} x^{2}-1\right ) \left (c^{2} x^{2}+2\right )}{12 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c x}\right )}{c^{4}}\) | \(365\) |
default | \(\frac {\frac {a^{3} c^{4} x^{4}}{4}+b^{3} \left (\frac {\operatorname {arcsec}\left (c x \right )^{3} c^{4} x^{4}}{4}-\frac {\sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, \operatorname {arcsec}\left (c x \right )^{2} c^{3} x^{3}}{4}-\frac {\operatorname {arcsec}\left (c x \right )^{2} \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c x}{2}+\frac {i \operatorname {arcsec}\left (c x \right )^{2}}{2}+\frac {c^{2} x^{2} \operatorname {arcsec}\left (c x \right )}{4}-\frac {x c \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}}{4}-\frac {i}{4}-\operatorname {arcsec}\left (c x \right ) \ln \left (1+{\left (\frac {1}{c x}+i \sqrt {1-\frac {1}{c^{2} x^{2}}}\right )}^{2}\right )+\frac {i \operatorname {polylog}\left (2, -{\left (\frac {1}{c x}+i \sqrt {1-\frac {1}{c^{2} x^{2}}}\right )}^{2}\right )}{2}\right )+3 a \,b^{2} \left (\frac {\operatorname {arcsec}\left (c x \right )^{2} c^{4} x^{4}}{4}-\frac {\operatorname {arcsec}\left (c x \right ) \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c^{3} x^{3}}{6}+\frac {c^{2} x^{2}}{12}-\frac {\operatorname {arcsec}\left (c x \right ) c x \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}}{3}-\frac {\ln \left (\frac {1}{c x}\right )}{3}\right )+3 a^{2} b \left (\frac {c^{4} x^{4} \operatorname {arcsec}\left (c x \right )}{4}-\frac {\left (c^{2} x^{2}-1\right ) \left (c^{2} x^{2}+2\right )}{12 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c x}\right )}{c^{4}}\) | \(365\) |
parts | \(\frac {a^{3} x^{4}}{4}+\frac {b^{3} \left (\frac {\operatorname {arcsec}\left (c x \right )^{3} c^{4} x^{4}}{4}-\frac {\sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, \operatorname {arcsec}\left (c x \right )^{2} c^{3} x^{3}}{4}-\frac {\operatorname {arcsec}\left (c x \right )^{2} \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c x}{2}+\frac {i \operatorname {arcsec}\left (c x \right )^{2}}{2}+\frac {c^{2} x^{2} \operatorname {arcsec}\left (c x \right )}{4}-\frac {x c \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}}{4}-\frac {i}{4}-\operatorname {arcsec}\left (c x \right ) \ln \left (1+{\left (\frac {1}{c x}+i \sqrt {1-\frac {1}{c^{2} x^{2}}}\right )}^{2}\right )+\frac {i \operatorname {polylog}\left (2, -{\left (\frac {1}{c x}+i \sqrt {1-\frac {1}{c^{2} x^{2}}}\right )}^{2}\right )}{2}\right )}{c^{4}}+\frac {3 a \,b^{2} \left (\frac {\operatorname {arcsec}\left (c x \right )^{2} c^{4} x^{4}}{4}-\frac {\operatorname {arcsec}\left (c x \right ) \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c^{3} x^{3}}{6}+\frac {c^{2} x^{2}}{12}-\frac {\operatorname {arcsec}\left (c x \right ) c x \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}}{3}-\frac {\ln \left (\frac {1}{c x}\right )}{3}\right )}{c^{4}}+\frac {3 a^{2} b \left (\frac {c^{4} x^{4} \operatorname {arcsec}\left (c x \right )}{4}-\frac {\left (c^{2} x^{2}-1\right ) \left (c^{2} x^{2}+2\right )}{12 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c x}\right )}{c^{4}}\) | \(367\) |
[In]
[Out]
\[ \int x^3 \left (a+b \sec ^{-1}(c x)\right )^3 \, dx=\int { {\left (b \operatorname {arcsec}\left (c x\right ) + a\right )}^{3} x^{3} \,d x } \]
[In]
[Out]
\[ \int x^3 \left (a+b \sec ^{-1}(c x)\right )^3 \, dx=\int x^{3} \left (a + b \operatorname {asec}{\left (c x \right )}\right )^{3}\, dx \]
[In]
[Out]
\[ \int x^3 \left (a+b \sec ^{-1}(c x)\right )^3 \, dx=\int { {\left (b \operatorname {arcsec}\left (c x\right ) + a\right )}^{3} x^{3} \,d x } \]
[In]
[Out]
\[ \int x^3 \left (a+b \sec ^{-1}(c x)\right )^3 \, dx=\int { {\left (b \operatorname {arcsec}\left (c x\right ) + a\right )}^{3} x^{3} \,d x } \]
[In]
[Out]
Timed out. \[ \int x^3 \left (a+b \sec ^{-1}(c x)\right )^3 \, dx=\int x^3\,{\left (a+b\,\mathrm {acos}\left (\frac {1}{c\,x}\right )\right )}^3 \,d x \]
[In]
[Out]